package cn.broadsense.biz.bo;

import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

/**
 * @author: pengxin
 * @create: 2024-09-10 12:12
 * @Version 1.0
 **/
@ApiModel(value = "图层区域")
@Data
public class LayerAreaBo implements Serializable {

    private static final long serialVersionUID = -4562941927995954770L;

    @ApiModelProperty(hidden = true)
    @JsonIgnore
    private Long id;

    /**
     * 图层ID
     */
    @ApiModelProperty(value = "图层ID")
    @NotNull(message = "图层ID不能为空")
    private Long layerId;

    /**
     * 类型 1:点 2:线 3:面 4:框选 5:圆形
     */
    @ApiModelProperty(value = "类型 1:点 2:线 3:面 4:框选 5:圆形")
    @NotNull(message = "类型不能为空")
    private Integer type;

    /**
     * 名称
     */
    @ApiModelProperty(value = "名称")
    @NotBlank(message = "名称不能为空")
    private String name;

    /**
     * 标记地址
     */
    @ApiModelProperty(value = "标记地址")
    private String address;

    /**
     * 经度
     */
    @ApiModelProperty(value = "经度")
    private String gpsX;

    /**
     * 纬度
     */
    @ApiModelProperty(value = "纬度")
    private String gpsY;

    /**
     * 线段长度
     */
    @ApiModelProperty(value = "线段长度")
    private String lineLength;

    /**
     * 线段颜色
     */
    @ApiModelProperty(value = "线段颜色")
    private String lineColor;

    /**
     * 线段宽度
     */
    @ApiModelProperty(value = "线段宽度")
    private String lineWidth;

    /**
     * 面积
     */
    @ApiModelProperty(value = "面积")
    private String squareMeters;

    /**
     * 边框颜色
     */
    @ApiModelProperty(value = "边框颜色")
    private String borderColor;

    /**
     * 边框宽度
     */
    @ApiModelProperty(value = "边框宽度")
    private String borderWidth;

    /**
     * 填充颜色
     */
    @ApiModelProperty(value = "填充颜色")
    private String fillColor;

    /**
     * 点坐标json串
     */
    @ApiModelProperty(value = "点坐标json串")
    private String pointJson;

    /**
     * 点位信息
     */

    @ApiModelProperty(value = "点位信息")
    private List<Long> channelIds;

}
